import axios from '@/utils/request';

export class SkTokenApi {
  // 更新
  static update(data: any): Promise<any> {
    return axios.post('/api/business/admin/skToken/update', data);
  }

  // 查询
  static query(params: any): Promise<any> {
    return axios.get('/api/business/admin/skToken/list', { params });
  }

  // 查询详情
  static detail(id: string): Promise<any> {
    return axios.get('/api/business/admin/skToken/detail', { params: { id } });
  }
}
